<?php
    /**
    *   $aUsers = array(
    *       'name' => '',
    *       'image' => 'Nokia 1202',
    *       'email' => '34234',
    *       'location' => 'khai',
    *       'uri' => 'http...',
    *   ); 
    */
?>
<div class="product_content">
    <?php 
        if($template->get('$aUsers')){foreach($template->get('$aUsers') as $aUser){?>
        <div class="item user_item">
            <div class="item_swap">
                <div class="item_content" style="top:0px !important;">
                    <div>
                        <div class="image_content" style="line-height: 100px;height:100px;">
                            <a href="<?php echo $aUser['uri']; ?>"><img src="<?php echo (isset($aUser['image']) ? URL::getLink('upload/'.$aUser['image']) : URL::getLink('image/default_user')); ?>" alt=""></a>
                        </div>
                        <div class="item_info">
                            <p><a href="<?php echo $aUser['uri']; ?>"><?php echo $aUser['name']; ?></a></p>
                            <p>Email <strong><?php echo $aUser['email']; ?></strong></p>
                            <p>Address <strong><?php echo $aUser['location']; ?></strong></p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <?php }}?>
    <div style="clear: both;"></div>
</div>